package com.iptv.webtest.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author willSir
 * @date 2021/10/2_10:47
 * 页面跳转控制器
 */
@Controller
public class IndexController {

    @RequestMapping("/test/easy")
    public String easy(Model m){
        System.out.println("访问了简单的页面");
        return "/test/easy";
    }

    @RequestMapping("/test/normal")
    public String normal(Model m){
        System.out.println("访问了一般的页面");
        return "/test/normal";
    }

    @RequestMapping("/test/hard")
    public String hard(Model m){
        System.out.println("访问了困难的页面");
        return "/test/hard";
    }




}
